const { Controller } = require('egg');

class RegisterController extends Controller {
  async index() {
    const { ctx } = this;

    const post = await this.app.mysql.get('user', { name: '19373110' });
    ctx.body = post;
  }
}

module.exports = RegisterController;
